FHIR © HL7.org  |  Server Home  |  FHIR Server FHIR Server 3.4.11  |  FHIR Version n/a  User: [n/a]

Resource StructureMap/FHIR Server from package hl7.fhir.uv.xver#current (110 ms)

Package hl7.fhir.uv.xver
Type StructureMap
Id Id
FHIR Version R5
Source http://hl7.org/fhir/extensions/https://build.fhir.org/ig/HL7/fhir-cross-version/StructureMap-MolecularSequence4to5.html
Url http://hl7.org/fhir/StructureMap/MolecularSequence4to5
Version 0.1.0
Status active
Date 2024-02-22T03:16:50+00:00
Name MolecularSequence4to5
Title MolecularSequence Transforms: R4 to R5
Experimental False
Realm uv
Authority hl7
Description MolecularSequenceTransformsR4toR5

Resources that use this resource

No resources found


Resources that this resource uses

No resources found



Narrative

Note: links and images are rebased to the (stated) source

/// url = 'http://hl7.org/fhir/StructureMap/MolecularSequence4to5'
/// name = 'MolecularSequence4to5'
/// title = 'MolecularSequence Transforms: R4 to R5'
/// status = 'active'

uses "http://hl7.org/fhir/4.0/MolecularSequence" alias MolecularSequenceR4 as source
uses "http://hl7.org/fhir/5.0/MolecularSequence" alias MolecularSequenceR5 as target

imports "http://hl7.org/fhir/StructureMap/*4to5"

group MolecularSequence(source src : MolecularSequenceR4, target tgt : MolecularSequenceR5) extends DomainResource <<type+>> {
  src.identifier -> tgt.identifier;
  src.type as v -> tgt.type = translate(v, 'http://hl7.org/fhir/ConceptMap/MolecularSequence.type-R4toR5', 'code');
  src.patient -> tgt.subject;
  src.specimen -> tgt.specimen;
  src.device -> tgt.device;
  src.performer -> tgt.performer;
  src.referenceSeq as s -> tgt.relative as t then MolecularSequenceReferenceSeq(s, t);
  src.variant as s -> tgt.relative as t then MolecularSequenceVariant(s, t);
}

group MolecularSequenceReferenceSeq(source src, target tgt) extends BackboneElement {
  src.chromosome as s where code = '1' ->  tgt.startingSequence as t,  t.chromosome = create('CodeableConcept') as tc,  tc.coding = create('Coding') as tcc,  tcc.system = 'http://loinc.org',  tcc.code = 'LA21254-0',  tcc.display = 'Chromosome 1';
  src.chromosome as s where code = '2' ->  tgt.startingSequence as t,  t.chromosome = create('CodeableConcept') as tc,  tc.coding = create('Coding') as tcc,  tcc.system = 'http://loinc.org',  tcc.code = 'LA21255-7',  tcc.display = 'Chromosome 2';
  src.chromosome as s where code = '3' ->  tgt.startingSequence as t,  t.chromosome = create('CodeableConcept') as tc,  tc.coding = create('Coding') as tcc,  tcc.system = 'http://loinc.org',  tcc.code = 'LA21256-5',  tcc.display = 'Chromosome 3';
  src.chromosome as s where code = '4' ->  tgt.startingSequence as t,  t.chromosome = create('CodeableConcept') as tc,  tc.coding = create('Coding') as tcc,  tcc.system = 'http://loinc.org',  tcc.code = 'LA21257-3',  tcc.display = 'Chromosome 4';
  src.chromosome as s where code = '5' ->  tgt.startingSequence as t,  t.chromosome = create('CodeableConcept') as tc,  tc.coding = create('Coding') as tcc,  tcc.system = 'http://loinc.org',  tcc.code = 'LA21258-1',  tcc.display = 'Chromosome 5';
  src.chromosome as s where code = '6' ->  tgt.startingSequence as t,  t.chromosome = create('CodeableConcept') as tc,  tc.coding = create('Coding') as tcc,  tcc.system = 'http://loinc.org',  tcc.code = 'LA21259-9',  tcc.display = 'Chromosome 6';
  src.chromosome as s where code = '7' ->  tgt.startingSequence as t,  t.chromosome = create('CodeableConcept') as tc,  tc.coding = create('Coding') as tcc,  tcc.system = 'http://loinc.org',  tcc.code = 'LA21260-7',  tcc.display = 'Chromosome 7';
  src.chromosome as s where code = '8' ->  tgt.startingSequence as t,  t.chromosome = create('CodeableConcept') as tc,  tc.coding = create('Coding') as tcc,  tcc.system = 'http://loinc.org',  tcc.code = 'LA21261-5',  tcc.display = 'Chromosome 8';
  src.chromosome as s where code = '9' ->  tgt.startingSequence as t,  t.chromosome = create('CodeableConcept') as tc,  tc.coding = create('Coding') as tcc,  tcc.system = 'http://loinc.org',  tcc.code = 'LA21262-3',  tcc.display = 'Chromosome 9';
  src.chromosome as s where code = '10' ->  tgt.startingSequence as t,  t.chromosome = create('CodeableConcept') as tc,  tc.coding = create('Coding') as tcc,  tcc.system = 'http://loinc.org',  tcc.code = 'LA21263-1',  tcc.display = 'Chromosome 10';
  src.chromosome as s where code = '11' ->  tgt.startingSequence as t,  t.chromosome = create('CodeableConcept') as tc,  tc.coding = create('Coding') as tcc,  tcc.system = 'http://loinc.org',  tcc.code = 'LA21264-9',  tcc.display = 'Chromosome 11';
  src.chromosome as s where code = '12' ->  tgt.startingSequence as t,  t.chromosome = create('CodeableConcept') as tc,  tc.coding = create('Coding') as tcc,  tcc.system = 'http://loinc.org',  tcc.code = 'LA21265-6',  tcc.display = 'Chromosome 12';
  src.chromosome as s where code = '13' ->  tgt.startingSequence as t,  t.chromosome = create('CodeableConcept') as tc,  tc.coding = create('Coding') as tcc,  tcc.system = 'http://loinc.org',  tcc.code = 'LA21266-4',  tcc.display = 'Chromosome 13';
  src.chromosome as s where code = '14' ->  tgt.startingSequence as t,  t.chromosome = create('CodeableConcept') as tc,  tc.coding = create('Coding') as tcc,  tcc.system = 'http://loinc.org',  tcc.code = 'LA21267-2',  tcc.display = 'Chromosome 14';
  src.chromosome as s where code = '15' ->  tgt.startingSequence as t,  t.chromosome = create('CodeableConcept') as tc,  tc.coding = create('Coding') as tcc,  tcc.system = 'http://loinc.org',  tcc.code = 'LA21268-0',  tcc.display = 'Chromosome 15';
  src.chromosome as s where code = '16' ->  tgt.startingSequence as t,  t.chromosome = create('CodeableConcept') as tc,  tc.coding = create('Coding') as tcc,  tcc.system = 'http://loinc.org',  tcc.code = 'LA21269-8',  tcc.display = 'Chromosome 16';
  src.chromosome as s where code = '17' ->  tgt.startingSequence as t,  t.chromosome = create('CodeableConcept') as tc,  tc.coding = create('Coding') as tcc,  tcc.system = 'http://loinc.org',  tcc.code = 'LA21270-6',  tcc.display = 'Chromosome 17';
  src.chromosome as s where code = '18' ->  tgt.startingSequence as t,  t.chromosome = create('CodeableConcept') as tc,  tc.coding = create('Coding') as tcc,  tcc.system = 'http://loinc.org',  tcc.code = 'LA21271-4',  tcc.display = 'Chromosome 18';
  src.chromosome as s where code = '19' ->  tgt.startingSequence as t,  t.chromosome = create('CodeableConcept') as tc,  tc.coding = create('Coding') as tcc,  tcc.system = 'http://loinc.org',  tcc.code = 'LA21272-2',  tcc.display = 'Chromosome 19';
  src.chromosome as s where code = '20' ->  tgt.startingSequence as t,  t.chromosome = create('CodeableConcept') as tc,  tc.coding = create('Coding') as tcc,  tcc.system = 'http://loinc.org',  tcc.code = 'LA21273-0',  tcc.display = 'Chromosome 20';
  src.chromosome as s where code = '21' ->  tgt.startingSequence as t,  t.chromosome = create('CodeableConcept') as tc,  tc.coding = create('Coding') as tcc,  tcc.system = 'http://loinc.org',  tcc.code = 'LA21274-8',  tcc.display = 'Chromosome 21';
  src.chromosome as s where code = '22' ->  tgt.startingSequence as t,  t.chromosome = create('CodeableConcept') as tc,  tc.coding = create('Coding') as tcc,  tcc.system = 'http://loinc.org',  tcc.code = 'LA21275-5',  tcc.display = 'Chromosome 22';
  src.chromosome as s where code = 'X' ->  tgt.startingSequence as t,  t.chromosome = create('CodeableConcept') as tc,  tc.coding = create('Coding') as tcc,  tcc.system = 'http://loinc.org',  tcc.code = 'LA21276-3',  tcc.display = 'Chromosome X';
  src.chromosome as s where code = 'Y' ->  tgt.startingSequence as t,  t.chromosome = create('CodeableConcept') as tc,  tc.coding = create('Coding') as tcc,  tcc.system = 'http://loinc.org',  tcc.code = 'LA21277-1',  tcc.display = 'Chromosome Y';
  src.referenceSeqId : CodeableConcept as s ->  tgt.startingSequence as t,  t.sequence = s;
  src.referenceSeqPointer : Reference as s ->  tgt.startingSequence as t,  t.sequence = s;
  src.referenceSeqString : string as s ->  tgt.startingSequence as t,  t.sequence = s;
  src.windowStart : integer as s ->  tgt.startingSequence as t,  t.windowStart = s;
  src.windowEnd : integer as s ->  tgt.startingSequence as t,  t.windowEnd = s;
  src.orientation as v ->  tgt.startingSequence as t,  t.orientation = translate(v, 'http://hl7.org/fhir/ConceptMap/MolecularSequence.referenceSeq.orientation-R4toR5', 'code');
  src.strand as v ->  tgt.startingSequence as t,  t.strand = translate(v, 'http://hl7.org/fhir/ConceptMap/MolecularSequence.referenceSeq.strand-R4toR5', 'code');
}

group MolecularSequenceVariant(source src, target tgt) extends BackboneElement {
  src.start : integer as s ->  tgt.edit as t,  t.start = s;
  src.end : integer as s ->  tgt.edit as t,  t.end = s;
  src.observedAllele as s ->  tgt.edit as t,  t.replacementSequence = s;
  src.referenceAllele as s ->  tgt.edit as t,  t.replacedSequence = s;
}


Source

{
  "resourceType" : "StructureMap",
  "id" : "MolecularSequence4to5",
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><pre class=\"fml\">\r\n<span style=\"color: #cc00cc\">/// <b>url</b> = </span><span style=\"color: blue\">'http://hl7.org/fhir/StructureMap/MolecularSequence4to5'</span>\r\n<span style=\"color: #cc00cc\">/// <b>name</b> = </span><span style=\"color: blue\">'MolecularSequence4to5'</span>\r\n<span style=\"color: #cc00cc\">/// <b>title</b> = </span><span style=\"color: blue\">'MolecularSequence Transforms: R4 to R5'</span>\r\n<span style=\"color: #cc00cc\">/// <b>status</b> = </span><span style=\"color: blue\">'active'</span>\r\n\r\n<b>uses</b><span style=\"color: navy\"> &quot;</span>http://hl7.org/fhir/4.0/MolecularSequence<span style=\"color: navy\">&quot; </span><b>alias </b>MolecularSequenceR4 <b>as </b><b>source</b>\r\n<b>uses</b><span style=\"color: navy\"> &quot;</span>http://hl7.org/fhir/5.0/MolecularSequence<span style=\"color: navy\">&quot; </span><b>alias </b>MolecularSequenceR5 <b>as </b><b>target</b>\r\n\r\n<b>imports</b><span style=\"color: navy\"> &quot;</span>http://hl7.org/fhir/StructureMap/*4to5<span style=\"color: navy\">&quot;\r\n</span>\r\n<b>group </b>MolecularSequence<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span><span style=\"color: navy\"> : </span>MolecularSequenceR4, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\"> : </span>MolecularSequenceR5<span style=\"color: navy\">)</span><b> extends </b>DomainResource<b> &lt;&lt;type+&gt;&gt;</b><span style=\"color: navy\"> {\r\n</span> src.identifier<span style=\"color: navy\"><b> -&gt; </b></span>tgt.identifier<span style=\"color: navy\">;</span>\r\n src.type<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.type = <b>translate</b><span style=\"color: navy\">(</span><span style=\"color: maroon\">v</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'http://hl7.org/fhir/ConceptMap/MolecularSequence.type-R4toR5'</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'code'</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n src.patient<span style=\"color: navy\"><b> -&gt; </b></span>tgt.subject<span style=\"color: navy\">;</span>\r\n src.specimen<span style=\"color: navy\"><b> -&gt; </b></span>tgt.specimen<span style=\"color: navy\">;</span>\r\n src.device<span style=\"color: navy\"><b> -&gt; </b></span>tgt.device<span style=\"color: navy\">;</span>\r\n src.performer<span style=\"color: navy\"><b> -&gt; </b></span>tgt.performer<span style=\"color: navy\">;</span>\r\n src.referenceSeq<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.relative<b> as </b><span style=\"color: maroon\">t</span><b> then </b>MolecularSequenceReferenceSeq<span style=\"color: navy\">(</span><span style=\"color: maroon\">s</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">t</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n src.variant<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.relative<b> as </b><span style=\"color: maroon\">t</span><b> then </b>MolecularSequenceVariant<span style=\"color: navy\">(</span><span style=\"color: maroon\">s</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">t</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>MolecularSequenceReferenceSeq<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span>, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\">)</span><b> extends </b>BackboneElement<span style=\"color: navy\"> {\r\n</span> src.chromosome<b> as </b><span style=\"color: maroon\">s</span><b> where </b>code = '1'<span style=\"color: navy\"><b> -&gt; </b></span> tgt.startingSequence<b> as </b><span style=\"color: maroon\">t</span><span style=\"color: navy\">, </span> t.chromosome = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'CodeableConcept'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">tc</span><span style=\"color: navy\">, </span> tc.coding = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'Coding'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">tcc</span><span style=\"color: navy\">, </span> tcc.system = <span style=\"color: blue\">'http://loinc.org'</span><span style=\"color: navy\">, </span> tcc.code = <span style=\"color: blue\">'LA21254-0'</span><span style=\"color: navy\">, </span> tcc.display = <span style=\"color: blue\">'Chromosome 1'</span><span style=\"color: navy\">;</span>\r\n src.chromosome<b> as </b><span style=\"color: maroon\">s</span><b> where </b>code = '2'<span style=\"color: navy\"><b> -&gt; </b></span> tgt.startingSequence<b> as </b><span style=\"color: maroon\">t</span><span style=\"color: navy\">, </span> t.chromosome = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'CodeableConcept'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">tc</span><span style=\"color: navy\">, </span> tc.coding = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'Coding'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">tcc</span><span style=\"color: navy\">, </span> tcc.system = <span style=\"color: blue\">'http://loinc.org'</span><span style=\"color: navy\">, </span> tcc.code = <span style=\"color: blue\">'LA21255-7'</span><span style=\"color: navy\">, </span> tcc.display = <span style=\"color: blue\">'Chromosome 2'</span><span style=\"color: navy\">;</span>\r\n src.chromosome<b> as </b><span style=\"color: maroon\">s</span><b> where </b>code = '3'<span style=\"color: navy\"><b> -&gt; </b></span> tgt.startingSequence<b> as </b><span style=\"color: maroon\">t</span><span style=\"color: navy\">, </span> t.chromosome = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'CodeableConcept'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">tc</span><span style=\"color: navy\">, </span> tc.coding = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'Coding'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">tcc</span><span style=\"color: navy\">, </span> tcc.system = <span style=\"color: blue\">'http://loinc.org'</span><span style=\"color: navy\">, </span> tcc.code = <span style=\"color: blue\">'LA21256-5'</span><span style=\"color: navy\">, </span> tcc.display = <span style=\"color: blue\">'Chromosome 3'</span><span style=\"color: navy\">;</span>\r\n src.chromosome<b> as </b><span style=\"color: maroon\">s</span><b> where </b>code = '4'<span style=\"color: navy\"><b> -&gt; </b></span> tgt.startingSequence<b> as </b><span style=\"color: maroon\">t</span><span style=\"color: navy\">, </span> t.chromosome = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'CodeableConcept'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">tc</span><span style=\"color: navy\">, </span> tc.coding = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'Coding'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">tcc</span><span style=\"color: navy\">, </span> tcc.system = <span style=\"color: blue\">'http://loinc.org'</span><span style=\"color: navy\">, </span> tcc.code = <span style=\"color: blue\">'LA21257-3'</span><span style=\"color: navy\">, </span> tcc.display = <span style=\"color: blue\">'Chromosome 4'</span><span style=\"color: navy\">;</span>\r\n src.chromosome<b> as </b><span style=\"color: maroon\">s</span><b> where </b>code = '5'<span style=\"color: navy\"><b> -&gt; </b></span> tgt.startingSequence<b> as </b><span style=\"color: maroon\">t</span><span style=\"color: navy\">, </span> t.chromosome = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'CodeableConcept'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">tc</span><span style=\"color: navy\">, </span> tc.coding = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'Coding'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">tcc</span><span style=\"color: navy\">, </span> tcc.system = <span style=\"color: blue\">'http://loinc.org'</span><span style=\"color: navy\">, </span> tcc.code = <span style=\"color: blue\">'LA21258-1'</span><span style=\"color: navy\">, </span> tcc.display = <span style=\"color: blue\">'Chromosome 5'</span><span style=\"color: navy\">;</span>\r\n src.chromosome<b> as </b><span style=\"color: maroon\">s</span><b> where </b>code = '6'<span style=\"color: navy\"><b> -&gt; </b></span> tgt.startingSequence<b> as </b><span style=\"color: maroon\">t</span><span style=\"color: navy\">, </span> t.chromosome = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'CodeableConcept'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">tc</span><span style=\"color: navy\">, </span> tc.coding = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'Coding'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">tcc</span><span style=\"color: navy\">, </span> tcc.system = <span style=\"color: blue\">'http://loinc.org'</span><span style=\"color: navy\">, </span> tcc.code = <span style=\"color: blue\">'LA21259-9'</span><span style=\"color: navy\">, </span> tcc.display = <span style=\"color: blue\">'Chromosome 6'</span><span style=\"color: navy\">;</span>\r\n src.chromosome<b> as </b><span style=\"color: maroon\">s</span><b> where </b>code = '7'<span style=\"color: navy\"><b> -&gt; </b></span> tgt.startingSequence<b> as </b><span style=\"color: maroon\">t</span><span style=\"color: navy\">, </span> t.chromosome = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'CodeableConcept'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">tc</span><span style=\"color: navy\">, </span> tc.coding = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'Coding'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">tcc</span><span style=\"color: navy\">, </span> tcc.system = <span style=\"color: blue\">'http://loinc.org'</span><span style=\"color: navy\">, </span> tcc.code = <span style=\"color: blue\">'LA21260-7'</span><span style=\"color: navy\">, </span> tcc.display = <span style=\"color: blue\">'Chromosome 7'</span><span style=\"color: navy\">;</span>\r\n src.chromosome<b> as </b><span style=\"color: maroon\">s</span><b> where </b>code = '8'<span style=\"color: navy\"><b> -&gt; </b></span> tgt.startingSequence<b> as </b><span style=\"color: maroon\">t</span><span style=\"color: navy\">, </span> t.chromosome = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'CodeableConcept'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">tc</span><span style=\"color: navy\">, </span> tc.coding = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'Coding'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">tcc</span><span style=\"color: navy\">, </span> tcc.system = <span style=\"color: blue\">'http://loinc.org'</span><span style=\"color: navy\">, </span> tcc.code = <span style=\"color: blue\">'LA21261-5'</span><span style=\"color: navy\">, </span> tcc.display = <span style=\"color: blue\">'Chromosome 8'</span><span style=\"color: navy\">;</span>\r\n src.chromosome<b> as </b><span style=\"color: maroon\">s</span><b> where </b>code = '9'<span style=\"color: navy\"><b> -&gt; </b></span> tgt.startingSequence<b> as </b><span style=\"color: maroon\">t</span><span style=\"color: navy\">, </span> t.chromosome = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'CodeableConcept'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">tc</span><span style=\"color: navy\">, </span> tc.coding = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'Coding'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">tcc</span><span style=\"color: navy\">, </span> tcc.system = <span style=\"color: blue\">'http://loinc.org'</span><span style=\"color: navy\">, </span> tcc.code = <span style=\"color: blue\">'LA21262-3'</span><span style=\"color: navy\">, </span> tcc.display = <span style=\"color: blue\">'Chromosome 9'</span><span style=\"color: navy\">;</span>\r\n src.chromosome<b> as </b><span style=\"color: maroon\">s</span><b> where </b>code = '10'<span style=\"color: navy\"><b> -&gt; </b></span> tgt.startingSequence<b> as </b><span style=\"color: maroon\">t</span><span style=\"color: navy\">, </span> t.chromosome = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'CodeableConcept'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">tc</span><span style=\"color: navy\">, </span> tc.coding = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'Coding'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">tcc</span><span style=\"color: navy\">, </span> tcc.system = <span style=\"color: blue\">'http://loinc.org'</span><span style=\"color: navy\">, </span> tcc.code = <span style=\"color: blue\">'LA21263-1'</span><span style=\"color: navy\">, </span> tcc.display = <span style=\"color: blue\">'Chromosome 10'</span><span style=\"color: navy\">;</span>\r\n src.chromosome<b> as </b><span style=\"color: maroon\">s</span><b> where </b>code = '11'<span style=\"color: navy\"><b> -&gt; </b></span> tgt.startingSequence<b> as </b><span style=\"color: maroon\">t</span><span style=\"color: navy\">, </span> t.chromosome = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'CodeableConcept'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">tc</span><span style=\"color: navy\">, </span> tc.coding = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'Coding'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">tcc</span><span style=\"color: navy\">, </span> tcc.system = <span style=\"color: blue\">'http://loinc.org'</span><span style=\"color: navy\">, </span> tcc.code = <span style=\"color: blue\">'LA21264-9'</span><span style=\"color: navy\">, </span> tcc.display = <span style=\"color: blue\">'Chromosome 11'</span><span style=\"color: navy\">;</span>\r\n src.chromosome<b> as </b><span style=\"color: maroon\">s</span><b> where </b>code = '12'<span style=\"color: navy\"><b> -&gt; </b></span> tgt.startingSequence<b> as </b><span style=\"color: maroon\">t</span><span style=\"color: navy\">, </span> t.chromosome = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'CodeableConcept'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">tc</span><span style=\"color: navy\">, </span> tc.coding = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'Coding'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">tcc</span><span style=\"color: navy\">, </span> tcc.system = <span style=\"color: blue\">'http://loinc.org'</span><span style=\"color: navy\">, </span> tcc.code = <span style=\"color: blue\">'LA21265-6'</span><span style=\"color: navy\">, </span> tcc.display = <span style=\"color: blue\">'Chromosome 12'</span><span style=\"color: navy\">;</span>\r\n src.chromosome<b> as </b><span style=\"color: maroon\">s</span><b> where </b>code = '13'<span style=\"color: navy\"><b> -&gt; </b></span> tgt.startingSequence<b> as </b><span style=\"color: maroon\">t</span><span style=\"color: navy\">, </span> t.chromosome = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'CodeableConcept'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">tc</span><span style=\"color: navy\">, </span> tc.coding = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'Coding'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">tcc</span><span style=\"color: navy\">, </span> tcc.system = <span style=\"color: blue\">'http://loinc.org'</span><span style=\"color: navy\">, </span> tcc.code = <span style=\"color: blue\">'LA21266-4'</span><span style=\"color: navy\">, </span> tcc.display = <span style=\"color: blue\">'Chromosome 13'</span><span style=\"color: navy\">;</span>\r\n src.chromosome<b> as </b><span style=\"color: maroon\">s</span><b> where </b>code = '14'<span style=\"color: navy\"><b> -&gt; </b></span> tgt.startingSequence<b> as </b><span style=\"color: maroon\">t</span><span style=\"color: navy\">, </span> t.chromosome = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'CodeableConcept'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">tc</span><span style=\"color: navy\">, </span> tc.coding = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'Coding'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">tcc</span><span style=\"color: navy\">, </span> tcc.system = <span style=\"color: blue\">'http://loinc.org'</span><span style=\"color: navy\">, </span> tcc.code = <span style=\"color: blue\">'LA21267-2'</span><span style=\"color: navy\">, </span> tcc.display = <span style=\"color: blue\">'Chromosome 14'</span><span style=\"color: navy\">;</span>\r\n src.chromosome<b> as </b><span style=\"color: maroon\">s</span><b> where </b>code = '15'<span style=\"color: navy\"><b> -&gt; </b></span> tgt.startingSequence<b> as </b><span style=\"color: maroon\">t</span><span style=\"color: navy\">, </span> t.chromosome = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'CodeableConcept'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">tc</span><span style=\"color: navy\">, </span> tc.coding = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'Coding'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">tcc</span><span style=\"color: navy\">, </span> tcc.system = <span style=\"color: blue\">'http://loinc.org'</span><span style=\"color: navy\">, </span> tcc.code = <span style=\"color: blue\">'LA21268-0'</span><span style=\"color: navy\">, </span> tcc.display = <span style=\"color: blue\">'Chromosome 15'</span><span style=\"color: navy\">;</span>\r\n src.chromosome<b> as </b><span style=\"color: maroon\">s</span><b> where </b>code = '16'<span style=\"color: navy\"><b> -&gt; </b></span> tgt.startingSequence<b> as </b><span style=\"color: maroon\">t</span><span style=\"color: navy\">, </span> t.chromosome = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'CodeableConcept'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">tc</span><span style=\"color: navy\">, </span> tc.coding = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'Coding'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">tcc</span><span style=\"color: navy\">, </span> tcc.system = <span style=\"color: blue\">'http://loinc.org'</span><span style=\"color: navy\">, </span> tcc.code = <span style=\"color: blue\">'LA21269-8'</span><span style=\"color: navy\">, </span> tcc.display = <span style=\"color: blue\">'Chromosome 16'</span><span style=\"color: navy\">;</span>\r\n src.chromosome<b> as </b><span style=\"color: maroon\">s</span><b> where </b>code = '17'<span style=\"color: navy\"><b> -&gt; </b></span> tgt.startingSequence<b> as </b><span style=\"color: maroon\">t</span><span style=\"color: navy\">, </span> t.chromosome = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'CodeableConcept'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">tc</span><span style=\"color: navy\">, </span> tc.coding = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'Coding'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">tcc</span><span style=\"color: navy\">, </span> tcc.system = <span style=\"color: blue\">'http://loinc.org'</span><span style=\"color: navy\">, </span> tcc.code = <span style=\"color: blue\">'LA21270-6'</span><span style=\"color: navy\">, </span> tcc.display = <span style=\"color: blue\">'Chromosome 17'</span><span style=\"color: navy\">;</span>\r\n src.chromosome<b> as </b><span style=\"color: maroon\">s</span><b> where </b>code = '18'<span style=\"color: navy\"><b> -&gt; </b></span> tgt.startingSequence<b> as </b><span style=\"color: maroon\">t</span><span style=\"color: navy\">, </span> t.chromosome = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'CodeableConcept'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">tc</span><span style=\"color: navy\">, </span> tc.coding = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'Coding'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">tcc</span><span style=\"color: navy\">, </span> tcc.system = <span style=\"color: blue\">'http://loinc.org'</span><span style=\"color: navy\">, </span> tcc.code = <span style=\"color: blue\">'LA21271-4'</span><span style=\"color: navy\">, </span> tcc.display = <span style=\"color: blue\">'Chromosome 18'</span><span style=\"color: navy\">;</span>\r\n src.chromosome<b> as </b><span style=\"color: maroon\">s</span><b> where </b>code = '19'<span style=\"color: navy\"><b> -&gt; </b></span> tgt.startingSequence<b> as </b><span style=\"color: maroon\">t</span><span style=\"color: navy\">, </span> t.chromosome = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'CodeableConcept'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">tc</span><span style=\"color: navy\">, </span> tc.coding = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'Coding'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">tcc</span><span style=\"color: navy\">, </span> tcc.system = <span style=\"color: blue\">'http://loinc.org'</span><span style=\"color: navy\">, </span> tcc.code = <span style=\"color: blue\">'LA21272-2'</span><span style=\"color: navy\">, </span> tcc.display = <span style=\"color: blue\">'Chromosome 19'</span><span style=\"color: navy\">;</span>\r\n src.chromosome<b> as </b><span style=\"color: maroon\">s</span><b> where </b>code = '20'<span style=\"color: navy\"><b> -&gt; </b></span> tgt.startingSequence<b> as </b><span style=\"color: maroon\">t</span><span style=\"color: navy\">, </span> t.chromosome = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'CodeableConcept'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">tc</span><span style=\"color: navy\">, </span> tc.coding = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'Coding'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">tcc</span><span style=\"color: navy\">, </span> tcc.system = <span style=\"color: blue\">'http://loinc.org'</span><span style=\"color: navy\">, </span> tcc.code = <span style=\"color: blue\">'LA21273-0'</span><span style=\"color: navy\">, </span> tcc.display = <span style=\"color: blue\">'Chromosome 20'</span><span style=\"color: navy\">;</span>\r\n src.chromosome<b> as </b><span style=\"color: maroon\">s</span><b> where </b>code = '21'<span style=\"color: navy\"><b> -&gt; </b></span> tgt.startingSequence<b> as </b><span style=\"color: maroon\">t</span><span style=\"color: navy\">, </span> t.chromosome = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'CodeableConcept'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">tc</span><span style=\"color: navy\">, </span> tc.coding = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'Coding'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">tcc</span><span style=\"color: navy\">, </span> tcc.system = <span style=\"color: blue\">'http://loinc.org'</span><span style=\"color: navy\">, </span> tcc.code = <span style=\"color: blue\">'LA21274-8'</span><span style=\"color: navy\">, </span> tcc.display = <span style=\"color: blue\">'Chromosome 21'</span><span style=\"color: navy\">;</span>\r\n src.chromosome<b> as </b><span style=\"color: maroon\">s</span><b> where </b>code = '22'<span style=\"color: navy\"><b> -&gt; </b></span> tgt.startingSequence<b> as </b><span style=\"color: maroon\">t</span><span style=\"color: navy\">, </span> t.chromosome = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'CodeableConcept'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">tc</span><span style=\"color: navy\">, </span> tc.coding = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'Coding'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">tcc</span><span style=\"color: navy\">, </span> tcc.system = <span style=\"color: blue\">'http://loinc.org'</span><span style=\"color: navy\">, </span> tcc.code = <span style=\"color: blue\">'LA21275-5'</span><span style=\"color: navy\">, </span> tcc.display = <span style=\"color: blue\">'Chromosome 22'</span><span style=\"color: navy\">;</span>\r\n src.chromosome<b> as </b><span style=\"color: maroon\">s</span><b> where </b>code = 'X'<span style=\"color: navy\"><b> -&gt; </b></span> tgt.startingSequence<b> as </b><span style=\"color: maroon\">t</span><span style=\"color: navy\">, </span> t.chromosome = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'CodeableConcept'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">tc</span><span style=\"color: navy\">, </span> tc.coding = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'Coding'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">tcc</span><span style=\"color: navy\">, </span> tcc.system = <span style=\"color: blue\">'http://loinc.org'</span><span style=\"color: navy\">, </span> tcc.code = <span style=\"color: blue\">'LA21276-3'</span><span style=\"color: navy\">, </span> tcc.display = <span style=\"color: blue\">'Chromosome X'</span><span style=\"color: navy\">;</span>\r\n src.chromosome<b> as </b><span style=\"color: maroon\">s</span><b> where </b>code = 'Y'<span style=\"color: navy\"><b> -&gt; </b></span> tgt.startingSequence<b> as </b><span style=\"color: maroon\">t</span><span style=\"color: navy\">, </span> t.chromosome = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'CodeableConcept'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">tc</span><span style=\"color: navy\">, </span> tc.coding = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'Coding'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">tcc</span><span style=\"color: navy\">, </span> tcc.system = <span style=\"color: blue\">'http://loinc.org'</span><span style=\"color: navy\">, </span> tcc.code = <span style=\"color: blue\">'LA21277-1'</span><span style=\"color: navy\">, </span> tcc.display = <span style=\"color: blue\">'Chromosome Y'</span><span style=\"color: navy\">;</span>\r\n src.referenceSeqId<span style=\"color: navy\"> : </span>CodeableConcept<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -&gt; </b></span> tgt.startingSequence<b> as </b><span style=\"color: maroon\">t</span><span style=\"color: navy\">, </span> t.sequence = <span style=\"color: maroon\">s</span><span style=\"color: navy\">;</span>\r\n src.referenceSeqPointer<span style=\"color: navy\"> : </span>Reference<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -&gt; </b></span> tgt.startingSequence<b> as </b><span style=\"color: maroon\">t</span><span style=\"color: navy\">, </span> t.sequence = <span style=\"color: maroon\">s</span><span style=\"color: navy\">;</span>\r\n src.referenceSeqString<span style=\"color: navy\"> : </span>string<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -&gt; </b></span> tgt.startingSequence<b> as </b><span style=\"color: maroon\">t</span><span style=\"color: navy\">, </span> t.sequence = <span style=\"color: maroon\">s</span><span style=\"color: navy\">;</span>\r\n src.windowStart<span style=\"color: navy\"> : </span>integer<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -&gt; </b></span> tgt.startingSequence<b> as </b><span style=\"color: maroon\">t</span><span style=\"color: navy\">, </span> t.windowStart = <span style=\"color: maroon\">s</span><span style=\"color: navy\">;</span>\r\n src.windowEnd<span style=\"color: navy\"> : </span>integer<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -&gt; </b></span> tgt.startingSequence<b> as </b><span style=\"color: maroon\">t</span><span style=\"color: navy\">, </span> t.windowEnd = <span style=\"color: maroon\">s</span><span style=\"color: navy\">;</span>\r\n src.orientation<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -&gt; </b></span> tgt.startingSequence<b> as </b><span style=\"color: maroon\">t</span><span style=\"color: navy\">, </span> t.orientation = <b>translate</b><span style=\"color: navy\">(</span><span style=\"color: maroon\">v</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'http://hl7.org/fhir/ConceptMap/MolecularSequence.referenceSeq.orientation-R4toR5'</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'code'</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n src.strand<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -&gt; </b></span> tgt.startingSequence<b> as </b><span style=\"color: maroon\">t</span><span style=\"color: navy\">, </span> t.strand = <b>translate</b><span style=\"color: navy\">(</span><span style=\"color: maroon\">v</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'http://hl7.org/fhir/ConceptMap/MolecularSequence.referenceSeq.strand-R4toR5'</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'code'</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>MolecularSequenceVariant<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span>, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\">)</span><b> extends </b>BackboneElement<span style=\"color: navy\"> {\r\n</span> src.start<span style=\"color: navy\"> : </span>integer<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -&gt; </b></span> tgt.edit<b> as </b><span style=\"color: maroon\">t</span><span style=\"color: navy\">, </span> t.start = <span style=\"color: maroon\">s</span><span style=\"color: navy\">;</span>\r\n src.end<span style=\"color: navy\"> : </span>integer<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -&gt; </b></span> tgt.edit<b> as </b><span style=\"color: maroon\">t</span><span style=\"color: navy\">, </span> t.end = <span style=\"color: maroon\">s</span><span style=\"color: navy\">;</span>\r\n src.observedAllele<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -&gt; </b></span> tgt.edit<b> as </b><span style=\"color: maroon\">t</span><span style=\"color: navy\">, </span> t.replacementSequence = <span style=\"color: maroon\">s</span><span style=\"color: navy\">;</span>\r\n src.referenceAllele<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -&gt; </b></span> tgt.edit<b> as </b><span style=\"color: maroon\">t</span><span style=\"color: navy\">, </span> t.replacedSequence = <span style=\"color: maroon\">s</span><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span></pre></div>"
  },
  "extension" : [
    {
      "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
      "valueCode" : "fhir"
    },
    {
      "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
      "valueInteger" : 1,
      "_valueInteger" : {
        "extension" : [
          {
            "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
            "valueCanonical" : "http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.xver"
          }
        ]
      }
    },
    {
      "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
      "valueCode" : "draft",
      "_valueCode" : {
        "extension" : [
          {
            "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
            "valueCanonical" : "http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.xver"
          }
        ]
      }
    }
  ],
  "url" : "http://hl7.org/fhir/StructureMap/MolecularSequence4to5",
  "version" : "0.1.0",
  "name" : "MolecularSequence4to5",
  "title" : "MolecularSequence Transforms: R4 to R5",
  "status" : "active",
  "date" : "2024-02-22T03:16:50+00:00",
  "publisher" : "HL7 International / FHIR Infrastructure",
  "contact" : [
    {
      "telecom" : [
        {
          "system" : "url",
          "value" : "http://www.hl7.org/Special/committees/fiwg"
        }
      ]
    }
  ],
  "description" : "MolecularSequenceTransformsR4toR5",
  "jurisdiction" : [
    {
      "coding" : [
        {
          "system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
          "code" : "001"
        }
      ]
    }
  ],
  "structure" : [
    {
      "url" : "http://hl7.org/fhir/4.0/MolecularSequence",
      "mode" : "source",
      "alias" : "MolecularSequenceR4"
    },
    {
      "url" : "http://hl7.org/fhir/5.0/MolecularSequence",
      "mode" : "target",
      "alias" : "MolecularSequenceR5"
    }
  ],
  "import" : [
    "http://hl7.org/fhir/StructureMap/*4to5"
  ],
  "group" : [
    {
      "name" : "MolecularSequence",
      "extends" : "DomainResource",
      "typeMode" : "type-and-types",
      "input" : [
        {
          "name" : "src",
          "type" : "MolecularSequenceR4",
          "mode" : "source"
        },
        {
          "name" : "tgt",
          "type" : "MolecularSequenceR5",
          "mode" : "target"
        }
      ],
      "rule" : [
        {
          "name" : "identifier",
          "source" : [
            {
              "context" : "src",
              "element" : "identifier",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "identifier",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "type",
          "source" : [
            {
              "context" : "src",
              "element" : "type",
              "variable" : "v"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "type",
              "transform" : "translate",
              "parameter" : [
                {
                  "valueId" : "v"
                },
                {
                  "valueString" : "http://hl7.org/fhir/ConceptMap/MolecularSequence.type-R4toR5"
                },
                {
                  "valueString" : "code"
                }
              ]
            }
          ]
        },
        {
          "name" : "patient",
          "source" : [
            {
              "context" : "src",
              "element" : "patient",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "subject",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "specimen",
          "source" : [
            {
              "context" : "src",
              "element" : "specimen",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "specimen",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "device",
          "source" : [
            {
              "context" : "src",
              "element" : "device",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "device",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "performer",
          "source" : [
            {
              "context" : "src",
              "element" : "performer",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "performer",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "referenceSeq",
          "source" : [
            {
              "context" : "src",
              "element" : "referenceSeq",
              "variable" : "s"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "relative",
              "variable" : "t"
            }
          ],
          "dependent" : [
            {
              "name" : "MolecularSequenceReferenceSeq",
              "parameter" : [
                {
                  "valueId" : "s"
                },
                {
                  "valueId" : "t"
                }
              ]
            }
          ]
        },
        {
          "name" : "variant",
          "source" : [
            {
              "context" : "src",
              "element" : "variant",
              "variable" : "s"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "relative",
              "variable" : "t"
            }
          ],
          "dependent" : [
            {
              "name" : "MolecularSequenceVariant",
              "parameter" : [
                {
                  "valueId" : "s"
                },
                {
                  "valueId" : "t"
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "name" : "MolecularSequenceReferenceSeq",
      "extends" : "BackboneElement",
      "input" : [
        {
          "name" : "src",
          "mode" : "source"
        },
        {
          "name" : "tgt",
          "mode" : "target"
        }
      ],
      "rule" : [
        {
          "name" : "chromosome",
          "source" : [
            {
              "context" : "src",
              "element" : "chromosome",
              "variable" : "s",
              "condition" : "code = '1'"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "startingSequence",
              "variable" : "t"
            },
            {
              "context" : "t",
              "element" : "chromosome",
              "variable" : "tc",
              "transform" : "create",
              "parameter" : [
                {
                  "valueString" : "CodeableConcept"
                }
              ]
            },
            {
              "context" : "tc",
              "element" : "coding",
              "variable" : "tcc",
              "transform" : "create",
              "parameter" : [
                {
                  "valueString" : "Coding"
                }
              ]
            },
            {
              "context" : "tcc",
              "element" : "system",
              "transform" : "copy",
              "parameter" : [
                {
                  "valueString" : "http://loinc.org"
                }
              ]
            },
            {
              "context" : "tcc",
              "element" : "code",
              "transform" : "copy",
              "parameter" : [
                {
                  "valueString" : "LA21254-0"
                }
              ]
            },
            {
              "context" : "tcc",
              "element" : "display",
              "transform" : "copy",
              "parameter" : [
                {
                  "valueString" : "Chromosome 1"
                }
              ]
            }
          ]
        },
        {
          "name" : "chromosome",
          "source" : [
            {
              "context" : "src",
              "element" : "chromosome",
              "variable" : "s",
              "condition" : "code = '2'"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "startingSequence",
              "variable" : "t"
            },
            {
              "context" : "t",
              "element" : "chromosome",
              "variable" : "tc",
              "transform" : "create",
              "parameter" : [
                {
                  "valueString" : "CodeableConcept"
                }
              ]
            },
            {
              "context" : "tc",
              "element" : "coding",
              "variable" : "tcc",
              "transform" : "create",
              "parameter" : [
                {
                  "valueString" : "Coding"
                }
              ]
            },
            {
              "context" : "tcc",
              "element" : "system",
              "transform" : "copy",
              "parameter" : [
                {
                  "valueString" : "http://loinc.org"
                }
              ]
            },
            {
              "context" : "tcc",
              "element" : "code",
              "transform" : "copy",
              "parameter" : [
                {
                  "valueString" : "LA21255-7"
                }
              ]
            },
            {
              "context" : "tcc",
              "element" : "display",
              "transform" : "copy",
              "parameter" : [
                {
                  "valueString" : "Chromosome 2"
                }
              ]
            }
          ]
        },
        {
          "name" : "chromosome",
          "source" : [
            {
              "context" : "src",
              "element" : "chromosome",
              "variable" : "s",
              "condition" : "code = '3'"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "startingSequence",
              "variable" : "t"
            },
            {
              "context" : "t",
              "element" : "chromosome",
              "variable" : "tc",
              "transform" : "create",
              "parameter" : [
                {
                  "valueString" : "CodeableConcept"
                }
              ]
            },
            {
              "context" : "tc",
              "element" : "coding",
              "variable" : "tcc",
              "transform" : "create",
              "parameter" : [
                {
                  "valueString" : "Coding"
                }
              ]
            },
            {
              "context" : "tcc",
              "element" : "system",
              "transform" : "copy",
              "parameter" : [
                {
                  "valueString" : "http://loinc.org"
                }
              ]
            },
            {
              "context" : "tcc",
              "element" : "code",
              "transform" : "copy",
              "parameter" : [
                {
                  "valueString" : "LA21256-5"
                }
              ]
            },
            {
              "context" : "tcc",
              "element" : "display",
              "transform" : "copy",
              "parameter" : [
                {
                  "valueString" : "Chromosome 3"
                }
              ]
            }
          ]
        },
        {
          "name" : "chromosome",
          "source" : [
            {
              "context" : "src",
              "element" : "chromosome",
              "variable" : "s",
              "condition" : "code = '4'"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "startingSequence",
              "variable" : "t"
            },
            {
              "context" : "t",
              "element" : "chromosome",
              "variable" : "tc",
              "transform" : "create",
              "parameter" : [
                {
                  "valueString" : "CodeableConcept"
                }
              ]
            },
            {
              "context" : "tc",
              "element" : "coding",
              "variable" : "tcc",
              "transform" : "create",
              "parameter" : [
                {
                  "valueString" : "Coding"
                }
              ]
            },
            {
              "context" : "tcc",
              "element" : "system",
              "transform" : "copy",
              "parameter" : [
                {
                  "valueString" : "http://loinc.org"
                }
              ]
            },
            {
              "context" : "tcc",
              "element" : "code",
              "transform" : "copy",
              "parameter" : [
                {
                  "valueString" : "LA21257-3"
                }
              ]
            },
            {
              "context" : "tcc",
              "element" : "display",
              "transform" : "copy",
              "parameter" : [
                {
                  "valueString" : "Chromosome 4"
                }
              ]
            }
          ]
        },
        {
          "name" : "chromosome",
          "source" : [
            {
              "context" : "src",
              "element" : "chromosome",
              "variable" : "s",
              "condition" : "code = '5'"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "startingSequence",
              "variable" : "t"
            },
            {
              "context" : "t",
              "element" : "chromosome",
              "variable" : "tc",
              "transform" : "create",
              "parameter" : [
                {
                  "valueString" : "CodeableConcept"
                }
              ]
            },
            {
              "context" : "tc",
              "element" : "coding",
              "variable" : "tcc",
              "transform" : "create",
              "parameter" : [
                {
                  "valueString" : "Coding"
                }
              ]
            },
            {
              "context" : "tcc",
              "element" : "system",
              "transform" : "copy",
              "parameter" : [
                {
                  "valueString" : "http://loinc.org"
                }
              ]
            },
            {
              "context" : "tcc",
              "element" : "code",
              "transform" : "copy",
              "parameter" : [
                {
                  "valueString" : "LA21258-1"
                }
              ]
            },
            {
              "context" : "tcc",
              "element" : "display",
              "transform" : "copy",
              "parameter" : [
                {
                  "valueString" : "Chromosome 5"
                }
              ]
            }
          ]
        },
        {
          "name" : "chromosome",
          "source" : [
            {
              "context" : "src",
              "element" : "chromosome",
              "variable" : "s",
              "condition" : "code = '6'"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "startingSequence",
              "variable" : "t"
            },
            {
              "context" : "t",
              "element" : "chromosome",
              "variable" : "tc",
              "transform" : "create",
              "parameter" : [
                {
                  "valueString" : "CodeableConcept"
                }
              ]
            },
            {
              "context" : "tc",
              "element" : "coding",
              "variable" : "tcc",
              "transform" : "create",
              "parameter" : [
                {
                  "valueString" : "Coding"
                }
              ]
            },
            {
              "context" : "tcc",
              "element" : "system",
              "transform" : "copy",
              "parameter" : [
                {
                  "valueString" : "http://loinc.org"
                }
              ]
            },
            {
              "context" : "tcc",
              "element" : "code",
              "transform" : "copy",
              "parameter" : [
                {
                  "valueString" : "LA21259-9"
                }
              ]
            },
            {
              "context" : "tcc",
              "element" : "display",
              "transform" : "copy",
              "parameter" : [
                {
                  "valueString" : "Chromosome 6"
                }
              ]
            }
          ]
        },
        {
          "name" : "chromosome",
          "source" : [
            {
              "context" : "src",
              "element" : "chromosome",
              "variable" : "s",
              "condition" : "code = '7'"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "startingSequence",
              "variable" : "t"
            },
            {
              "context" : "t",
              "element" : "chromosome",
              "variable" : "tc",
              "transform" : "create",
              "parameter" : [
                {
                  "valueString" : "CodeableConcept"
                }
              ]
            },
            {
              "context" : "tc",
              "element" : "coding",
              "variable" : "tcc",
              "transform" : "create",
              "parameter" : [
                {
                  "valueString" : "Coding"
                }
              ]
            },
            {
              "context" : "tcc",
              "element" : "system",
              "transform" : "copy",
              "parameter" : [
                {
                  "valueString" : "http://loinc.org"
                }
              ]
            },
            {
              "context" : "tcc",
              "element" : "code",
              "transform" : "copy",
              "parameter" : [
                {
                  "valueString" : "LA21260-7"
                }
              ]
            },
            {
              "context" : "tcc",
              "element" : "display",
              "transform" : "copy",
              "parameter" : [
                {
                  "valueString" : "Chromosome 7"
                }
              ]
            }
          ]
        },
        {
          "name" : "chromosome",
          "source" : [
            {
              "context" : "src",
              "element" : "chromosome",
              "variable" : "s",
              "condition" : "code = '8'"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "startingSequence",
              "variable" : "t"
            },
            {
              "context" : "t",
              "element" : "chromosome",
              "variable" : "tc",
              "transform" : "create",
              "parameter" : [
                {
                  "valueString" : "CodeableConcept"
                }
              ]
            },
            {
              "context" : "tc",
              "element" : "coding",
              "variable" : "tcc",
              "transform" : "create",
              "parameter" : [
                {
                  "valueString" : "Coding"
                }
              ]
            },
            {
              "context" : "tcc",
              "element" : "system",
              "transform" : "copy",
              "parameter" : [
                {
                  "valueString" : "http://loinc.org"
                }
              ]
            },
            {
              "context" : "tcc",
              "element" : "code",
              "transform" : "copy",
              "parameter" : [
                {
                  "valueString" : "LA21261-5"
                }
              ]
            },
            {
              "context" : "tcc",
              "element" : "display",
              "transform" : "copy",
              "parameter" : [
                {
                  "valueString" : "Chromosome 8"
                }
              ]
            }
          ]
        },
        {
          "name" : "chromosome",
          "source" : [
            {
              "context" : "src",
              "element" : "chromosome",
              "variable" : "s",
              "condition" : "code = '9'"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "startingSequence",
              "variable" : "t"
            },
            {
              "context" : "t",
              "element" : "chromosome",
              "variable" : "tc",
              "transform" : "create",
              "parameter" : [
                {
                  "valueString" : "CodeableConcept"
                }
              ]
            },
            {
              "context" : "tc",
              "element" : "coding",
              "variable" : "tcc",
              "transform" : "create",
              "parameter" : [
                {
                  "valueString" : "Coding"
                }
              ]
            },
            {
              "context" : "tcc",
              "element" : "system",
              "transform" : "copy",
              "parameter" : [
                {
                  "valueString" : "http://loinc.org"
                }
              ]
            },
            {
              "context" : "tcc",
              "element" : "code",
              "transform" : "copy",
              "parameter" : [
                {
                  "valueString" : "LA21262-3"
                }
              ]
            },
            {
              "context" : "tcc",
              "element" : "display",
              "transform" : "copy",
              "parameter" : [
                {
                  "valueString" : "Chromosome 9"
                }
              ]
            }
          ]
        },
        {
          "name" : "chromosome",
          "source" : [
            {
              "context" : "src",
              "element" : "chromosome",
              "variable" : "s",
              "condition" : "code = '10'"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "startingSequence",
              "variable" : "t"
            },
            {
              "context" : "t",
              "element" : "chromosome",
              "variable" : "tc",
              "transform" : "create",
              "parameter" : [
                {
                  "valueString" : "CodeableConcept"
                }
              ]
            },
            {
              "context" : "tc",
              "element" : "coding",
              "variable" : "tcc",
              "transform" : "create",
              "parameter" : [
                {
                  "valueString" : "Coding"
                }
              ]
            },
            {
              "context" : "tcc",
              "element" : "system",
              "transform" : "copy",
              "parameter" : [
                {
                  "valueString" : "http://loinc.org"
                }
              ]
            },
            {
              "context" : "tcc",
              "element" : "code",
              "transform" : "copy",
              "parameter" : [
                {
                  "valueString" : "LA21263-1"
                }
              ]
            },
            {
              "context" : "tcc",
              "element" : "display",
              "transform" : "copy",
              "parameter" : [
                {
                  "valueString" : "Chromosome 10"
                }
              ]
            }
          ]
        },
        {
          "name" : "chromosome",
          "source" : [
            {
              "context" : "src",
              "element" : "chromosome",
              "variable" : "s",
              "condition" : "code = '11'"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "startingSequence",
              "variable" : "t"
            },
            {
              "context" : "t",
              "element" : "chromosome",
              "variable" : "tc",
              "transform" : "create",
              "parameter" : [
                {
                  "valueString" : "CodeableConcept"
                }
              ]
            },
            {
              "context" : "tc",
              "element" : "coding",
              "variable" : "tcc",
              "transform" : "create",
              "parameter" : [
                {
                  "valueString" : "Coding"
                }
              ]
            },
            {
              "context" : "tcc",
              "element" : "system",
              "transform" : "copy",
              "parameter" : [
                {
                  "valueString" : "http://loinc.org"
                }
              ]
            },
            {
              "context" : "tcc",
              "element" : "code",
              "transform" : "copy",
              "parameter" : [
                {
                  "valueString" : "LA21264-9"
                }
              ]
            },
            {
              "context" : "tcc",
              "element" : "display",
              "transform" : "copy",
              "parameter" : [
                {
                  "valueString" : "Chromosome 11"
                }
              ]
            }
          ]
        },
        {
          "name" : "chromosome",
          "source" : [
            {
              "context" : "src",
              "element" : "chromosome",
              "variable" : "s",
              "condition" : "code = '12'"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "startingSequence",
              "variable" : "t"
            },
            {
              "context" : "t",
              "element" : "chromosome",
              "variable" : "tc",
              "transform" : "create",
              "parameter" : [
                {
                  "valueString" : "CodeableConcept"
                }
              ]
            },
            {
              "context" : "tc",
              "element" : "coding",
              "variable" : "tcc",
              "transform" : "create",
              "parameter" : [
                {
                  "valueString" : "Coding"
                }
              ]
            },
            {
              "context" : "tcc",
              "element" : "system",
              "transform" : "copy",
              "parameter" : [
                {
                  "valueString" : "http://loinc.org"
                }
              ]
            },
            {
              "context" : "tcc",
              "element" : "code",
              "transform" : "copy",
              "parameter" : [
                {
                  "valueString" : "LA21265-6"
                }
              ]
            },
            {
              "context" : "tcc",
              "element" : "display",
              "transform" : "copy",
              "parameter" : [
                {
                  "valueString" : "Chromosome 12"
                }
              ]
            }
          ]
        },
        {
          "name" : "chromosome",
          "source" : [
            {
              "context" : "src",
              "element" : "chromosome",
              "variable" : "s",
              "condition" : "code = '13'"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "startingSequence",
              "variable" : "t"
            },
            {
              "context" : "t",
              "element" : "chromosome",
              "variable" : "tc",
              "transform" : "create",
              "parameter" : [
                {
                  "valueString" : "CodeableConcept"
                }
              ]
            },
            {
              "context" : "tc",
              "element" : "coding",
              "variable" : "tcc",
              "transform" : "create",
              "parameter" : [
                {
                  "valueString" : "Coding"
                }
              ]
            },
            {
              "context" : "tcc",
              "element" : "system",
              "transform" : "copy",
              "parameter" : [
                {
                  "valueString" : "http://loinc.org"
                }
              ]
            },
            {
              "context" : "tcc",
              "element" : "code",
              "transform" : "copy",
              "parameter" : [
                {
                  "valueString" : "LA21266-4"
                }
              ]
            },
            {
              "context" : "tcc",
              "element" : "display",
              "transform" : "copy",
              "parameter" : [
                {
                  "valueString" : "Chromosome 13"
                }
              ]
            }
          ]
        },
        {
          "name" : "chromosome",
          "source" : [
            {
              "context" : "src",
              "element" : "chromosome",
              "variable" : "s",
              "condition" : "code = '14'"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "startingSequence",
              "variable" : "t"
            },
            {
              "context" : "t",
              "element" : "chromosome",
              "variable" : "tc",
              "transform" : "create",
              "parameter" : [
                {
                  "valueString" : "CodeableConcept"
                }
              ]
            },
            {
              "context" : "tc",
              "element" : "coding",
              "variable" : "tcc",
              "transform" : "create",
              "parameter" : [
                {
                  "valueString" : "Coding"
                }
              ]
            },
            {
              "context" : "tcc",
              "element" : "system",
              "transform" : "copy",
              "parameter" : [
                {
                  "valueString" : "http://loinc.org"
                }
              ]
            },
            {
              "context" : "tcc",
              "element" : "code",
              "transform" : "copy",
              "parameter" : [
                {
                  "valueString" : "LA21267-2"
                }
              ]
            },
            {
              "context" : "tcc",
              "element" : "display",
              "transform" : "copy",
              "parameter" : [
                {
                  "valueString" : "Chromosome 14"
                }
              ]
            }
          ]
        },
        {
          "name" : "chromosome",
          "source" : [
            {
              "context" : "src",
              "element" : "chromosome",
              "variable" : "s",
              "condition" : "code = '15'"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "startingSequence",
              "variable" : "t"
            },
            {
              "context" : "t",
              "element" : "chromosome",
              "variable" : "tc",
              "transform" : "create",
              "parameter" : [
                {
                  "valueString" : "CodeableConcept"
                }
              ]
            },
            {
              "context" : "tc",
              "element" : "coding",
              "variable" : "tcc",
              "transform" : "create",
              "parameter" : [
                {
                  "valueString" : "Coding"
                }
              ]
            },
            {
              "context" : "tcc",
              "element" : "system",
              "transform" : "copy",
              "parameter" : [
                {
                  "valueString" : "http://loinc.org"
                }
              ]
            },
            {
              "context" : "tcc",
              "element" : "code",
              "transform" : "copy",
              "parameter" : [
                {
                  "valueString" : "LA21268-0"
                }
              ]
            },
            {
              "context" : "tcc",
              "element" : "display",
              "transform" : "copy",
              "parameter" : [
                {
                  "valueString" : "Chromosome 15"
                }
              ]
            }
          ]
        },
        {
          "name" : "chromosome",
          "source" : [
            {
              "context" : "src",
              "element" : "chromosome",
              "variable" : "s",
              "condition" : "code = '16'"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "startingSequence",
              "variable" : "t"
            },
            {
              "context" : "t",
              "element" : "chromosome",
              "variable" : "tc",
              "transform" : "create",
              "parameter" : [
                {
                  "valueString" : "CodeableConcept"
                }
              ]
            },
            {
              "context" : "tc",
              "element" : "coding",
              "variable" : "tcc",
              "transform" : "create",
              "parameter" : [
                {
                  "valueString" : "Coding"
                }
              ]
            },
            {
              "context" : "tcc",
              "element" : "system",
              "transform" : "copy",
              "parameter" : [
                {
                  "valueString" : "http://loinc.org"
                }
              ]
            },
            {
              "context" : "tcc",
              "element" : "code",
              "transform" : "copy",
              "parameter" : [
                {
                  "valueString" : "LA21269-8"
                }
              ]
            },
            {
              "context" : "tcc",
              "element" : "display",
              "transform" : "copy",
              "parameter" : [
                {
                  "valueString" : "Chromosome 16"
                }
              ]
            }
          ]
        },
        {
          "name" : "chromosome",
          "source" : [
            {
              "context" : "src",
              "element" : "chromosome",
              "variable" : "s",
              "condition" : "code = '17'"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "startingSequence",
              "variable" : "t"
            },
            {
              "context" : "t",
              "element" : "chromosome",
              "variable" : "tc",
              "transform" : "create",
              "parameter" : [
                {
                  "valueString" : "CodeableConcept"
                }
              ]
            },
            {
              "context" : "tc",
              "element" : "coding",
              "variable" : "tcc",
              "transform" : "create",
              "parameter" : [
                {
                  "valueString" : "Coding"
                }
              ]
            },
            {
              "context" : "tcc",
              "element" : "system",
              "transform" : "copy",
              "parameter" : [
                {
                  "valueString" : "http://loinc.org"
                }
              ]
            },
            {
              "context" : "tcc",
              "element" : "code",
              "transform" : "copy",
              "parameter" : [
                {
                  "valueString" : "LA21270-6"
                }
              ]
            },
            {
              "context" : "tcc",
              "element" : "display",
              "transform" : "copy",
              "parameter" : [
                {
                  "valueString" : "Chromosome 17"
                }
              ]
            }
          ]
        },
        {
          "name" : "chromosome",
          "source" : [
            {
              "context" : "src",
              "element" : "chromosome",
              "variable" : "s",
              "condition" : "code = '18'"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "startingSequence",
              "variable" : "t"
            },
            {
              "context" : "t",
              "element" : "chromosome",
              "variable" : "tc",
              "transform" : "create",
              "parameter" : [
                {
                  "valueString" : "CodeableConcept"
                }
              ]
            },
            {
              "context" : "tc",
              "element" : "coding",
              "variable" : "tcc",
              "transform" : "create",
              "parameter" : [
                {
                  "valueString" : "Coding"
                }
              ]
            },
            {
              "context" : "tcc",
              "element" : "system",
              "transform" : "copy",
              "parameter" : [
                {
                  "valueString" : "http://loinc.org"
                }
              ]
            },
            {
              "context" : "tcc",
              "element" : "code",
              "transform" : "copy",
              "parameter" : [
                {
                  "valueString" : "LA21271-4"
                }
              ]
            },
            {
              "context" : "tcc",
              "element" : "display",
              "transform" : "copy",
              "parameter" : [
                {
                  "valueString" : "Chromosome 18"
                }
              ]
            }
          ]
        },
        {
          "name" : "chromosome",
          "source" : [
            {
              "context" : "src",
              "element" : "chromosome",
              "variable" : "s",
              "condition" : "code = '19'"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "startingSequence",
              "variable" : "t"
            },
            {
              "context" : "t",
              "element" : "chromosome",
              "variable" : "tc",
              "transform" : "create",
              "parameter" : [
                {
                  "valueString" : "CodeableConcept"
                }
              ]
            },
            {
              "context" : "tc",
              "element" : "coding",
              "variable" : "tcc",
              "transform" : "create",
              "parameter" : [
                {
                  "valueString" : "Coding"
                }
              ]
            },
            {
              "context" : "tcc",
              "element" : "system",
              "transform" : "copy",
              "parameter" : [
                {
                  "valueString" : "http://loinc.org"
                }
              ]
            },
            {
              "context" : "tcc",
              "element" : "code",
              "transform" : "copy",
              "parameter" : [
                {
                  "valueString" : "LA21272-2"
                }
              ]
            },
            {
              "context" : "tcc",
              "element" : "display",
              "transform" : "copy",
              "parameter" : [
                {
                  "valueString" : "Chromosome 19"
                }
              ]
            }
          ]
        },
        {
          "name" : "chromosome",
          "source" : [
            {
              "context" : "src",
              "element" : "chromosome",
              "variable" : "s",
              "condition" : "code = '20'"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "startingSequence",
              "variable" : "t"
            },
            {
              "context" : "t",
              "element" : "chromosome",
              "variable" : "tc",
              "transform" : "create",
              "parameter" : [
                {
                  "valueString" : "CodeableConcept"
                }
              ]
            },
            {
              "context" : "tc",
              "element" : "coding",
              "variable" : "tcc",
              "transform" : "create",
              "parameter" : [
                {
                  "valueString" : "Coding"
                }
              ]
            },
            {
              "context" : "tcc",
              "element" : "system",
              "transform" : "copy",
              "parameter" : [
                {
                  "valueString" : "http://loinc.org"
                }
              ]
            },
            {
              "context" : "tcc",
              "element" : "code",
              "transform" : "copy",
              "parameter" : [
                {
                  "valueString" : "LA21273-0"
                }
              ]
            },
            {
              "context" : "tcc",
              "element" : "display",
              "transform" : "copy",
              "parameter" : [
                {
                  "valueString" : "Chromosome 20"
                }
              ]
            }
          ]
        },
        {
          "name" : "chromosome",
          "source" : [
            {
              "context" : "src",
              "element" : "chromosome",
              "variable" : "s",
              "condition" : "code = '21'"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "startingSequence",
              "variable" : "t"
            },
            {
              "context" : "t",
              "element" : "chromosome",
              "variable" : "tc",
              "transform" : "create",
              "parameter" : [
                {
                  "valueString" : "CodeableConcept"
                }
              ]
            },
            {
              "context" : "tc",
              "element" : "coding",
              "variable" : "tcc",
              "transform" : "create",
              "parameter" : [
                {
                  "valueString" : "Coding"
                }
              ]
            },
            {
              "context" : "tcc",
              "element" : "system",
              "transform" : "copy",
              "parameter" : [
                {
                  "valueString" : "http://loinc.org"
                }
              ]
            },
            {
              "context" : "tcc",
              "element" : "code",
              "transform" : "copy",
              "parameter" : [
                {
                  "valueString" : "LA21274-8"
                }
              ]
            },
            {
              "context" : "tcc",
              "element" : "display",
              "transform" : "copy",
              "parameter" : [
                {
                  "valueString" : "Chromosome 21"
                }
              ]
            }
          ]
        },
        {
          "name" : "chromosome",
          "source" : [
            {
              "context" : "src",
              "element" : "chromosome",
              "variable" : "s",
              "condition" : "code = '22'"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "startingSequence",
              "variable" : "t"
            },
            {
              "context" : "t",
              "element" : "chromosome",
              "variable" : "tc",
              "transform" : "create",
              "parameter" : [
                {
                  "valueString" : "CodeableConcept"
                }
              ]
            },
            {
              "context" : "tc",
              "element" : "coding",
              "variable" : "tcc",
              "transform" : "create",
              "parameter" : [
                {
                  "valueString" : "Coding"
                }
              ]
            },
            {
              "context" : "tcc",
              "element" : "system",
              "transform" : "copy",
              "parameter" : [
                {
                  "valueString" : "http://loinc.org"
                }
              ]
            },
            {
              "context" : "tcc",
              "element" : "code",
              "transform" : "copy",
              "parameter" : [
                {
                  "valueString" : "LA21275-5"
                }
              ]
            },
            {
              "context" : "tcc",
              "element" : "display",
              "transform" : "copy",
              "parameter" : [
                {
                  "valueString" : "Chromosome 22"
                }
              ]
            }
          ]
        },
        {
          "name" : "chromosome",
          "source" : [
            {
              "context" : "src",
              "element" : "chromosome",
              "variable" : "s",
              "condition" : "code = 'X'"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "startingSequence",
              "variable" : "t"
            },
            {
              "context" : "t",
              "element" : "chromosome",
              "variable" : "tc",
              "transform" : "create",
              "parameter" : [
                {
                  "valueString" : "CodeableConcept"
                }
              ]
            },
            {
              "context" : "tc",
              "element" : "coding",
              "variable" : "tcc",
              "transform" : "create",
              "parameter" : [
                {
                  "valueString" : "Coding"
                }
              ]
            },
            {
              "context" : "tcc",
              "element" : "system",
              "transform" : "copy",
              "parameter" : [
                {
                  "valueString" : "http://loinc.org"
                }
              ]
            },
            {
              "context" : "tcc",
              "element" : "code",
              "transform" : "copy",
              "parameter" : [
                {
                  "valueString" : "LA21276-3"
                }
              ]
            },
            {
              "context" : "tcc",
              "element" : "display",
              "transform" : "copy",
              "parameter" : [
                {
                  "valueString" : "Chromosome X"
                }
              ]
            }
          ]
        },
        {
          "name" : "chromosome",
          "source" : [
            {
              "context" : "src",
              "element" : "chromosome",
              "variable" : "s",
              "condition" : "code = 'Y'"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "startingSequence",
              "variable" : "t"
            },
            {
              "context" : "t",
              "element" : "chromosome",
              "variable" : "tc",
              "transform" : "create",
              "parameter" : [
                {
                  "valueString" : "CodeableConcept"
                }
              ]
            },
            {
              "context" : "tc",
              "element" : "coding",
              "variable" : "tcc",
              "transform" : "create",
              "parameter" : [
                {
                  "valueString" : "Coding"
                }
              ]
            },
            {
              "context" : "tcc",
              "element" : "system",
              "transform" : "copy",
              "parameter" : [
                {
                  "valueString" : "http://loinc.org"
                }
              ]
            },
            {
              "context" : "tcc",
              "element" : "code",
              "transform" : "copy",
              "parameter" : [
                {
                  "valueString" : "LA21277-1"
                }
              ]
            },
            {
              "context" : "tcc",
              "element" : "display",
              "transform" : "copy",
              "parameter" : [
                {
                  "valueString" : "Chromosome Y"
                }
              ]
            }
          ]
        },
        {
          "name" : "referenceSeqIdCodeableConcept",
          "source" : [
            {
              "context" : "src",
              "type" : "CodeableConcept",
              "element" : "referenceSeqId",
              "variable" : "s"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "startingSequence",
              "variable" : "t"
            },
            {
              "context" : "t",
              "element" : "sequence",
              "transform" : "copy",
              "parameter" : [
                {
                  "valueId" : "s"
                }
              ]
            }
          ]
        },
        {
          "name" : "referenceSeqPointerReference",
          "source" : [
            {
              "context" : "src",
              "type" : "Reference",
              "element" : "referenceSeqPointer",
              "variable" : "s"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "startingSequence",
              "variable" : "t"
            },
            {
              "context" : "t",
              "element" : "sequence",
              "transform" : "copy",
              "parameter" : [
                {
                  "valueId" : "s"
                }
              ]
            }
          ]
        },
        {
          "name" : "referenceSeqStringString",
          "source" : [
            {
              "context" : "src",
              "type" : "string",
              "element" : "referenceSeqString",
              "variable" : "s"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "startingSequence",
              "variable" : "t"
            },
            {
              "context" : "t",
              "element" : "sequence",
              "transform" : "copy",
              "parameter" : [
                {
                  "valueId" : "s"
                }
              ]
            }
          ]
        },
        {
          "name" : "windowStartInteger",
          "source" : [
            {
              "context" : "src",
              "type" : "integer",
              "element" : "windowStart",
              "variable" : "s"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "startingSequence",
              "variable" : "t"
            },
            {
              "context" : "t",
              "element" : "windowStart",
              "transform" : "copy",
              "parameter" : [
                {
                  "valueId" : "s"
                }
              ]
            }
          ]
        },
        {
          "name" : "windowEndInteger",
          "source" : [
            {
              "context" : "src",
              "type" : "integer",
              "element" : "windowEnd",
              "variable" : "s"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "startingSequence",
              "variable" : "t"
            },
            {
              "context" : "t",
              "element" : "windowEnd",
              "transform" : "copy",
              "parameter" : [
                {
                  "valueId" : "s"
                }
              ]
            }
          ]
        },
        {
          "name" : "orientation",
          "source" : [
            {
              "context" : "src",
              "element" : "orientation",
              "variable" : "v"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "startingSequence",
              "variable" : "t"
            },
            {
              "context" : "t",
              "element" : "orientation",
              "transform" : "translate",
              "parameter" : [
                {
                  "valueId" : "v"
                },
                {
                  "valueString" : "http://hl7.org/fhir/ConceptMap/MolecularSequence.referenceSeq.orientation-R4toR5"
                },
                {
                  "valueString" : "code"
                }
              ]
            }
          ]
        },
        {
          "name" : "strand",
          "source" : [
            {
              "context" : "src",
              "element" : "strand",
              "variable" : "v"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "startingSequence",
              "variable" : "t"
            },
            {
              "context" : "t",
              "element" : "strand",
              "transform" : "translate",
              "parameter" : [
                {
                  "valueId" : "v"
                },
                {
                  "valueString" : "http://hl7.org/fhir/ConceptMap/MolecularSequence.referenceSeq.strand-R4toR5"
                },
                {
                  "valueString" : "code"
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "name" : "MolecularSequenceVariant",
      "extends" : "BackboneElement",
      "input" : [
        {
          "name" : "src",
          "mode" : "source"
        },
        {
          "name" : "tgt",
          "mode" : "target"
        }
      ],
      "rule" : [
        {
          "name" : "startInteger",
          "source" : [
            {
              "context" : "src",
              "type" : "integer",
              "element" : "start",
              "variable" : "s"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "edit",
              "variable" : "t"
            },
            {
              "context" : "t",
              "element" : "start",
              "transform" : "copy",
              "parameter" : [
                {
                  "valueId" : "s"
                }
              ]
            }
          ]
        },
        {
          "name" : "endInteger",
          "source" : [
            {
              "context" : "src",
              "type" : "integer",
              "element" : "end",
              "variable" : "s"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "edit",
              "variable" : "t"
            },
            {
              "context" : "t",
              "element" : "end",
              "transform" : "copy",
              "parameter" : [
                {
                  "valueId" : "s"
                }
              ]
            }
          ]
        },
        {
          "name" : "observedAllele",
          "source" : [
            {
              "context" : "src",
              "element" : "observedAllele",
              "variable" : "s"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "edit",
              "variable" : "t"
            },
            {
              "context" : "t",
              "element" : "replacementSequence",
              "transform" : "copy",
              "parameter" : [
                {
                  "valueId" : "s"
                }
              ]
            }
          ]
        },
        {
          "name" : "referenceAllele",
          "source" : [
            {
              "context" : "src",
              "element" : "referenceAllele",
              "variable" : "s"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "edit",
              "variable" : "t"
            },
            {
              "context" : "t",
              "element" : "replacedSequence",
              "transform" : "copy",
              "parameter" : [
                {
                  "valueId" : "s"
                }
              ]
            }
          ]
        }
      ]
    }
  ]
}

XIG built as of ??metadata-date??. Found ??metadata-resources?? resources in ??metadata-packages?? packages.